package m.jclecai.com.factory;

import android.support.v4.app.Fragment;

import m.jclecai.com.constant.Constant_Url;
import m.jclecai.com.fragment.home.HomeSwitchItemFragment;


/**
 * Created by shan_yao on 2016/6/17.
 */
public class FragmentFactory {

    /**
     * 新闻详情
     * @param id
     * @return
     */

    public static Fragment createForNews(long id) {
        HomeSwitchItemFragment fragment  =new  HomeSwitchItemFragment();
        fragment.requestData(Constant_Url.MENNU_CHILD_TITLE_TAG,id);
        return fragment;
    }






}
